const sequelize = require("./config/sequelize");
require("./models/user");
require("./models/collect");
require("./models/food");
require("./models/foodusenum");
require("./models/foodRecord");
require("./models/sports");
require("./models/sportsusenum");
require("./models/sportsRecord");
require("./models/post");
require("./models/college");
require("./models/comment");
require("./models/message");
require("./models/like");
require("./models/score");
require("./models/fans");
require("./models/goods");
require("./models/goodsConversion");
require("./models/topicCategory");
require("./models/topic");
require("./models/activity");

(async () => {
  await sequelize.sync({ alter: true });
})();

// sequelize
//   .sync({ alter: true })
//   .catch((err) => console.error(err))
//   .finally(() => sequelize.close());
